{
	"Static":{
		"designViewConf":{
			"touchDevice":false
		},
		"viewStyles":{
			
		}
	},
	"alias":"TestForm",
	"children":[
		{
			"alias":"PAGECTX",
			"children":[
				{
					"alias":"testView",
					"events":{},
					"key":"xui.UI.HiddenInput",
					"path":"demo.TestForm.PAGECTX.testView",
					"properties":{
						"formField":true,
						"isPid":false,
						"name":"testView",
						"pid":false
					}
				},
				{
					"alias":"projectName",
					"events":{},
					"key":"xui.UI.HiddenInput",
					"path":"demo.TestForm.PAGECTX.projectName",
					"properties":{
						"formField":true,
						"isPid":false,
						"name":"projectName",
						"pid":false,
						"value":"testVVVERSION0"
					}
				},
				{
					"alias":"projectVersionName",
					"events":{},
					"key":"xui.UI.HiddenInput",
					"path":"demo.TestForm.PAGECTX.projectVersionName",
					"properties":{
						"formField":true,
						"isPid":false,
						"name":"projectVersionName",
						"pid":false,
						"value":"testVVVERSION0"
					}
				},
				{
					"alias":"personId",
					"events":{},
					"key":"xui.UI.HiddenInput",
					"path":"demo.TestForm.PAGECTX.personId",
					"properties":{
						"formField":true,
						"isPid":true,
						"name":"personId",
						"pid":true
					}
				}
			],
			"events":{},
			"key":"xui.UI.Block",
			"params":{},
			"path":"demo.TestForm.PAGECTX",
			"properties":{
				"borderType":"none",
				"visibility":"hidden"
			}
		},
		{
			"alias":"TestFormDIALOGBox",
			"children":[
				{
					"alias":"TestFormMain",
					"children":[
						{
							"alias":"SAVEBottomBlock",
							"children":[
								{
									"alias":"SAVEBottom",
									"apis":[],
									"events":{"onClick":{
											"actions":[
												{
													"args":[
														"{page.SAVE.invoke()}"
													],
													"conditions":[{
														"symbol":"=",
														"left":"{args[1].id}",
														"right":"SAVE_button"
													}],
													"desc":"保存",
													"enumClassName":"com.ds.esd.annotation.action.CustomFormAction",
													"enumValue":"SAVE",
													"eventClass":"com.ds.esd.annotation.event.FieldEventEnum",
													"eventValue":"onClick",
													"id":"SAVE_control_invoke",
													"method":"invoke",
													"redirection":"other:callback:call",
													"return":true,
													"target":"SAVE",
													"type":"control"
												},
												{
													"args":[
														"{page.SEARCH.invoke()}"
													],
													"conditions":[{
														"symbol":"=",
														"left":"{args[1].id}",
														"right":"SEARCH_button"
													}],
													"desc":"查找",
													"enumClassName":"com.ds.esd.annotation.action.CustomFormAction",
													"enumValue":"SEARCH",
													"eventClass":"com.ds.esd.annotation.event.FieldEventEnum",
													"eventValue":"onClick",
													"id":"SEARCH_control_invoke",
													"method":"invoke",
													"redirection":"other:callback:call",
													"return":false,
													"target":"SEARCH",
													"type":"control"
												}
											]
										}
									},
									"key":"xui.UI.StatusButtons",
									"menuType":"BOTTOMBAR",
									"path":"demo.TestForm.TestFormDIALOGBox.TestFormMain.SAVEBottomBlock.SAVEBottom",
									"properties":{
										"borderType":"none",
										"dock":"fill",
										"fontColors":[],
										"iconColors":[],
										"itemColors":[],
										"itemType":"button",
										"itemWidth":"auto",
										"items":[
											{
												"caption":"保存",
												"iconColor":"#195ead",
												"id":"SAVE_button",
												"imageClass":"spafont spa-icon-save",
												"index":0,
												"itemType":"button",
												"tagVar":{
													"name":"SAVE",
													"clazz":"com.ds.esd.annotation.menu.CustomFormMenu"
												}
											},
											{
												"caption":"查找",
												"iconColor":"#87CEEB",
												"id":"SEARCH_button",
												"imageClass":"xui-icon-search",
												"index":0,
												"itemType":"button",
												"tagVar":{
													"name":"SEARCH",
													"clazz":"com.ds.esd.annotation.menu.CustomFormMenu"
												}
											}
										],
										"menuType":"BOTTOMBAR",
										"position":"static",
										"showCaption":true,
										"width":"auto"
									}
								}
							],
							"events":{},
							"key":"xui.UI.Block",
							"path":"demo.TestForm.TestFormDIALOGBox.TestFormMain.SAVEBottomBlock",
							"properties":{
								"borderType":"none",
								"comboType":"STATUSBUTTONS",
								"dock":"bottom",
								"height":"3.0em"
							}
						},
						{
							"alias":"TestFormForm",
							"children":[
								{
									"alias":"name",
									"events":{},
									"key":"xui.UI.Input",
									"path":"demo.TestForm.TestFormDIALOGBox.TestFormMain.TestFormForm.name",
									"properties":{
										"caption":"姓名",
										"desc":"姓名",
										"disabled":false,
										"events":{},
										"expression":"this.age+this.name",
										"id":"name",
										"imageClass":"",
										"labelCaption":"姓名",
										"name":"name",
										"readonly":false,
										"required":true,
										"tagVar":{}
									},
									"target":"B1"
								},
								{
									"alias":"sex",
									"events":{},
									"key":"xui.UI.ComboInput",
									"path":"demo.TestForm.TestFormDIALOGBox.TestFormMain.TestFormForm.sex",
									"properties":{
										"caption":"性別",
										"desc":"性別",
										"disabled":false,
										"enumClass":"com.ds.test.SexEnum",
										"id":"sex",
										"labelCaption":"性別",
										"name":"sex",
										"readonly":false,
										"type":"input",
										"visibility":"visible"
									},
									"target":"B2"
								},
								{
									"alias":"tagCmds",
									"events":{},
									"key":"xui.UI.Input",
									"path":"demo.TestForm.TestFormDIALOGBox.TestFormMain.TestFormForm.tagCmds",
									"properties":{
										"caption":"tagCmds",
										"desc":"tagCmds",
										"disabled":false,
										"events":{},
										"id":"tagCmds",
										"labelCaption":"tagCmds",
										"name":"tagCmds",
										"readonly":false,
										"tagVar":{}
									},
									"target":"B3"
								},
								{
									"alias":"age",
									"events":{},
									"key":"xui.UI.ComboInput",
									"path":"demo.TestForm.TestFormDIALOGBox.TestFormMain.TestFormForm.age",
									"properties":{
										"caption":"年龄",
										"currencyTpl":"$ *",
										"decimalSeparator":".",
										"desc":"年龄",
										"disabled":false,
										"expression":"this.age+this.name",
										"forceFillZero":true,
										"increment":1.0,
										"labelCaption":"年龄",
										"name":"age",
										"precision":0,
										"readonly":false,
										"type":"spin",
										"visibility":"visible"
									},
									"target":"B4"
								}
							],
							"events":{},
							"key":"xui.UI.FormLayout",
							"path":"demo.TestForm.TestFormDIALOGBox.TestFormMain.TestFormForm",
							"properties":{
								"caption":"添加",
								"defaultColWidth":150,
								"defaultColumnSize":-1,
								"defaultRowHeight":35,
								"defaultRowSize":-1,
								"dock":"fill",
								"floatHandler":false,
								"id":"testForm",
								"imageClass":"xui-icon-dialog",
								"layoutData":{
									"cells":{
										"A1":{
											"cellName":"A1",
											"style":{
												"textAlign":"center"
											},
											"value":"姓名"
										},
										"A2":{
											"cellName":"A2",
											"style":{
												"textAlign":"center"
											},
											"value":"性別"
										},
										"A3":{
											"cellName":"A3",
											"style":{
												"textAlign":"center"
											},
											"value":"tagCmds"
										},
										"A4":{
											"cellName":"A4",
											"style":{
												"textAlign":"center"
											},
											"value":"年龄"
										}
									},
									"colSetting":{
										"A":{"manualWidth":150
										},
										"B":{"manualWidth":150
										}
									},
									"cols":2,
									"rowSetting":{
										"1":{"manualHeight":35
										},
										"2":{"manualHeight":35
										},
										"3":{"manualHeight":35
										},
										"4":{"manualHeight":35
										}
									},
									"rows":4
								},
								"lineSpacing":10,
								"mode":"write",
								"name":"GetTestForm",
								"solidGridlines":true,
								"stretchH":"all",
								"stretchHeight":"none",
								"tagVar":{}
							}
						}
					],
					"events":{},
					"key":"xui.UI.Block",
					"path":"demo.TestForm.TestFormDIALOGBox.TestFormMain",
					"properties":{
						"dock":"fill",
						"panelBgClr":"transparent"
					}
				}
			],
			"events":{"afterDestroy":{
					"actions":[
						{
							"args":[],
							"conditions":[],
							"desc":"关闭页面",
							"enumClassName":"com.ds.esd.annotation.action.CustomPageAction",
							"enumValue":"CLOSE",
							"eventClass":"com.ds.esd.annotation.event.DialogEventEnum",
							"eventValue":"afterDestroy",
							"id":"demo.TestForm_page_destroy",
							"method":"destroy",
							"redirection":"page::",
							"return":true,
							"target":"demo.TestForm",
							"type":"page"
						}
					]
				}
			},
			"key":"xui.UI.Dialog",
			"path":"demo.TestForm.TestFormDIALOGBox",
			"properties":{
				"dock":"none",
				"height":"36.0em",
				"left":"220.0",
				"showEffects":"Classic",
				"top":"100.0",
				"width":"25.0em"
			}
		},
		{
			"alias":"SAVE",
			"events":{"afterInvoke":{
					"actions":[
						{
							"args":[],
							"conditions":[],
							"desc":"刷新父级页面",
							"enumClassName":"com.ds.esd.annotation.action.CustomPageAction",
							"enumValue":"RELOADPARENT",
							"eventClass":"com.ds.esd.annotation.event.CustomCallBack",
							"eventValue":"RELOADPARENT",
							"id":"demo.TestForm_page_reloadParent",
							"method":"reloadParent",
							"redirection":"page::",
							"return":true,
							"target":"demo.TestForm",
							"type":"page"
						},
						{
							"args":[],
							"conditions":[],
							"desc":"关闭页面",
							"enumClassName":"com.ds.esd.annotation.action.CustomPageAction",
							"enumValue":"CLOSE",
							"eventClass":"com.ds.esd.annotation.event.CustomCallBack",
							"eventValue":"CLOSE",
							"id":"demo.TestForm_page_destroy",
							"method":"destroy",
							"redirection":"page::",
							"return":true,
							"target":"demo.TestForm",
							"type":"page"
						}
					]
				}
			},
			"key":"xui.APICaller",
			"path":"demo.TestForm.SAVE",
			"properties":{
				"allform":false,
				"autoRun":false,
				"desc":"保存",
				"id":"/demo/SaveForm",
				"imageClass":"spafont spa-icon-c-webapi",
				"isAllform":false,
				"methodName":"saveForm",
				"name":"SaveForm",
				"proxyType":"auto",
				"queryAsync":true,
				"queryMethod":"POST",
				"queryURL":"/demo/SaveForm",
				"requestDataSource":[
					{
						"name":"testView",
						"path":"",
						"type":"FORM"
					},
					{
						"name":"testView",
						"path":"",
						"type":"FORM"
					},
					{
						"name":"TestFormMain",
						"path":"",
						"type":"FORM"
					},
					{
						"name":"PAGECTX",
						"path":"",
						"type":"FORM"
					}
				],
				"requestType":"JSON",
				"responseCallback":[],
				"responseDataTarget":[],
				"responseType":"JSON",
				"sourceClassName":"com.ds.test.TestService"
			}
		},
		{
			"alias":"RELOAD",
			"events":{},
			"key":"xui.APICaller",
			"path":"demo.TestForm.RELOAD",
			"properties":{
				"allform":false,
				"autoRun":false,
				"desc":"添加",
				"id":"/demo/TestForm",
				"imageClass":"spafont spa-icon-c-webapi",
				"isAllform":false,
				"methodName":"getTestForm",
				"name":"TestForm",
				"proxyType":"auto",
				"queryAsync":true,
				"queryMethod":"POST",
				"queryURL":"/demo/TestForm",
				"requestDataSource":[
					{
						"name":"testView",
						"path":"",
						"type":"FORM"
					},
					{
						"name":"projectName",
						"path":"",
						"type":"FORM"
					},
					{
						"name":"testView",
						"path":"",
						"type":"FORM"
					},
					{
						"name":"projectName",
						"path":"",
						"type":"FORM"
					},
					{
						"name":"TestFormMain",
						"path":"",
						"type":"FORM"
					},
					{
						"name":"PAGECTX",
						"path":"",
						"type":"FORM"
					}
				],
				"requestType":"JSON",
				"responseCallback":[],
				"responseDataTarget":[
					{
						"name":"PAGECTX",
						"path":"data",
						"type":"EXPRESSION"
					},
					{
						"name":"TestFormMain",
						"path":"data",
						"type":"FORM"
					},
					{
						"name":"PAGECTX",
						"path":"data",
						"type":"FORM"
					}
				],
				"responseType":"JSON",
				"sourceClassName":"com.ds.test.TestService"
			}
		}
	],
	"className":"demo.TestForm",
	"customFunctions":{},
	"desc":"添加",
	"dio":true,
	"events":{},
	"formulas":[],
	"key":"xui.Module",
	"moduleType":"EUClass",
	"moduleVar":{},
	"moduleViewType":"FORMCONFIG",
	"path":"demo.TestForm",
	"properties":{
		"autoDestroy":true,
		"bindClass":["com.ds.test.TestService"],
		"bindClassName":"com.ds.test.TestService",
		"bindService":"com.ds.test.TestService",
		"dsmProperties":{
			"domainId":"TEST_VIEW",
			"moduleViewType":"FORMCONFIG",
			"projectName":"test",
			"realPath":"demo.testform",
			"sourceClassName":"com.ds.test.TestService",
			"sourceMethodName":"getTestForm"
		},
		"dynLoad":false,
		"panelType":"dialog",
		"src":"/demo/TestForm",
		"viewClass":"com.ds.esd.custom.component.form.FullClassFormComponent"
	},
	"saveUrl":"/demo/SaveForm"
}